<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrom=1">
	<meta http-equiv="Cache-Control" content="no-store"/>
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="0"/>
 	<%@ include file="../base.jsp" %>
	<title>统计列表</title>
	<script type="text/javascript">
		 
	</script>
</head>
<body>
  <div class="con_wrap">
  	<%@ include file="../head.jsp" %>
     <div id="main">
		<form id="queryForm" action="${ctx}/input/index.do" name="queryForm" method="post" style="display: inline;">
			<div id="main">
				<dl class="section_wrap">
					<dt><h2>今日成交额</h2></dt>
					<dd class="dd">
						<table class="grid">
						<thead>
							  <tr>
								<th style="text-align:center;" >日　期</th>
								<th style="text-align:center;" >金　额</th>
								<th style="text-align:center;" >成　本</th>
							  </tr>
						  </thead>
						    <tbody>
						   <c:forEach items="${collectionList}" var="collection" varStatus="status">
							  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}" style="text-align:center;"  >
								<td>${collection.date}</td>
								<td>${collection.amount}　￥</td>
								<td>
									${collection.mcost} ￥
								</td>
							 </tr>
			  	  			</c:forEach>
						  </tbody>
						</table>
					</dd>
				</dl>
	
	
				<dl class="section_wrap">
					<dt><h2>今日前10</h2></dt>
					<dd class="dd">
						<table class="grid">
							<thead>
							  <tr>
								<th style="text-align:center;" >编　号</th>
								<th style="text-align:center;" >名　称</th>
								<th style="text-align:center;" >描　述</th>
								<th style="text-align:center;" >数　量</th>
								<th style="text-align:center;" >价　格</th>
							  </tr>
						  </thead>
						  <tbody>
						   <c:forEach items="${medicalList}" var="medical" varStatus="status">
							  <tr class="${status.count % 2 == 0 ? 'odd' : 'even'}" style="text-align:center;"  >
								<td>${medical.number}</td>
								<td>${medical.name}</td>
								<td>${medical.description}</td>
								<td>${medical.amount}</td>
								<td>${medical.price}</td>
								<td>
								</td>
							 </tr>
			  	  			</c:forEach>
						  </tbody>
						</table>
						<!--  -->
						<%-- <%@ include file="../pagebar.jsp" %>
						<input type="hidden" id="url" value="${page.url}/index.do"> --%>
					</dd>
				</dl>
			</div>
		</form>
	</div>
	<div style="height: 200px;">
</div>
	<div id="footer">
		<%@ include file="../footer.jsp" %>
	</div>
</div>
</body>
</html>	